{* Template Name:列表内容页面 *}
<article class="border-bottom pb-5 mb-5" id="post-{$article.ID}">
	<div class="row">
		<div class="d-none d-md-block col-md-4 pr-4">
			<div class="calendar-box"><p class="calendar">{$article.Time('d')}<em>{$article.Time('F')}</em></p></div>
			<p class="border-bottom"><span class="float-right">{$article.Time('g:i A')}</span><span class="oi oi-clock"></span></p>
			<p class="border-bottom"><span class="float-right"><a href="{$article.Category.Url}" title="{$article.Category.Name}">{$article.Category.Name}</a></span><span class="oi oi-spreadsheet"></span></p>
			<p class="border-bottom"><span class="float-right"><a href="{$article.Url}">{$article.ViewNums} 次浏览</a></span><span class="oi oi-eye"></span></p>

			{if $article.CommNums>0}
				<p class="border-bottom"><span class="float-right"><a href="{$article.Url}#comment">{$article.CommNums} 条评论</a></span><span class="oi oi-comment-square"></span></p>
			{/if}
		</div>
		<div class="col-md-8">
			<h2 class="mb-3 pt-1"><a href="{$article.Url}" class="title-h2">{$article.Title}</a></h2>
			{if count($article.Tags)>0}
				<p>
					{foreach $article.Tags as $i => $tag}
						<a href="{$tag.Url}" title="{$tag.Name}" target="_blank"><span class="badge badge-pill badge-secondary">{$tag.Name}</span></a>
					{/foreach}
				</p>
			{/if}
			
			{$article.Intro}
			<p><a href="{$article.Url}" class="btn btn-rujue" role="button" target="_blank" title="{$article.Title}">全文浏览</a></p>
		</div>
	</div>
</article><!-- {$article.ID} End -->